package main.model.hexisland.tile;


public class TileSand
        implements Tile{

	public TileType getType(){return TileType.SAND;}

	public void dayPass(){return;}

    @Override
    public boolean hasCentralObstacle() {
        return false;
    }

    @Override
    public boolean isAccessible() {
        return true;
    }

    public int eat(){return tastyLook();}
	
	public int tastyLook() {return 0;}



    public boolean equals(Object obj){
        if(obj == this) return true;
        if(!(obj instanceof TileSand)) return false;
        else return true;
    }

    public String toString(){
        return getType().toString();
    }

    public int hashCode(){
        return this.toString().hashCode();
    }
}
